<div class="form">

<?php	 	  $form=$this->beginWidget('CActiveForm', array(
	'id'=>'pesan-form',
	'enableAjaxValidation'=>false,
)); ?>

	<p class="note">Fields with <span class="required">*</span> are required.</p>

	<?php	 	  echo $form->errorSummary($model); ?>

	<div class="row">
		<?php	 	  echo $form->labelEx($model,'id_menu'); ?>
		<?php	 	  echo $form->textField($model,'id_menu'); ?>
		<?php	 	  echo $form->error($model,'id_menu'); ?>
	</div>

	<div class="row">
		<?php	 	  echo $form->labelEx($model,'id_laporan'); ?>
		<?php	 	  echo $form->textField($model,'id_laporan'); ?>
		<?php	 	  echo $form->error($model,'id_laporan'); ?>
	</div>

	<div class="row">
		<?php	 	  echo $form->labelEx($model,'pesan'); ?>
		<?php	 	  echo $form->textArea($model,'pesan',array('rows'=>6, 'cols'=>50)); ?>
		<?php	 	  echo $form->error($model,'pesan'); ?>
	</div>

	<div class="row">
		<?php	 	  echo $form->labelEx($model,'pembuat'); ?>
		<?php	 	  echo $form->textField($model,'pembuat'); ?>
		<?php	 	  echo $form->error($model,'pembuat'); ?>
	</div>

	<div class="row">
		<?php	 	  echo $form->labelEx($model,'tanggal_pembuatan'); ?>
		<?php	 	  echo $form->textField($model,'tanggal_pembuatan'); ?>
		<?php	 	  echo $form->error($model,'tanggal_pembuatan'); ?>
	</div>

	<div class="row buttons">
		<?php	 	  echo CHtml::submitButton($model->isNewRecord ? 'Create' : 'Save'); ?>
	</div>

<?php	 	  $this->endWidget(); ?>

</div><!-- form -->